Influence of vitamin D levels on bone mineral density and osteoporosis