A female member of staff at Kensington Palace raised an official complaint over a string of 'inappropriate' comments