Potential association of bone mineral density loss with cognitive impairment and central and peripheral amyloid-β changes: a cross-sectional study