Clinical risk factors for fracture among postmenopausal patients at risk for fracture: a historical cohort study using electronic medical record data