Osteoporosis complication is a risk factor for frailty in females with type 2 diabetes mellitus