Trends in potentially inappropriate medication prescribing to nursing home patients: comparison of three cross-sectional studies