Comparison of MMSE to DSM-IV diagnostic criteria for the detection of delirium in medically ill patients with psychiatric referrals