Vitamin 'may prevent memory loss'