A prospective study of the cognitive and psychiatric effects of pituitary tumours and their treatments