Factors associated with bone mineral density in Korean middle-aged men