Common drugs linked to increased risk of dementia