Cognitive Function in Patients Undergoing Arthroplasty: The Implications for Informed Consent