memory impairment sugar