Association between bone mineral density and metabolic syndrome in pre- and postmenopausal women.