Preoperative cognitive impairment predicts deep anaesthesia and higher postoperative pain in elderly patients: an observational study | Synapse