Prevalence of potentially inappropriate prescribing in older people in primary care and its association with hospital admission: longitudinal study