Impact of Mood Disorder History and Bone Health on Cognitive Function Among Men Without Dementia.