Cognitive decline and polypharmacy in an elderly population