William of Malmesbury as historian and man of letters