These foods may help prevent memory loss