Impact of Sedation on Cognitive Function in Mechanically Ventilated Patients