Study: Weight training may slow memory loss