The functions of educational institutions in adolescent development