Associations between body mass index and foot joint pain in middle-aged and older women: a retrospective analysis of a longitudinal cohort