Physical characteristics and sex hormone levels in patients with osteoporotic hip fractures or endometrial cancer.