Resveratrol found in red wine may help prevent memory loss, says study