Motivational and emotional factors of academic achievement in mathematics in early adolescence