Resveratrol prevents high-calorie diet-induced learning and memory dysfunction in juvenile C57BL/6J mice