Predicting Academic Achievement by Class-Level Emotions and Perceived Homeroom Teachers' Emotional Support.