A new study found cognitive improvements for shorter durations of eating