The effect of gynecological risk factors on lumbar and femoral bone mineral density in peri- and postmenopausal women.