A comparison of the Beers and STOPP criteria for identifying the use of potentially inappropriate medications among elderly patients in primary care