Study: When students feel positive toward schoolwork, they learn more