The role of peer groups in adolescents' educational trajectories