Osteoporosis prescribing trends in primary care: a population-based retrospective cohort study