Prevalence and predictors of osteoporosis and the impact of life style factors on bone mineral density