Analyzing school contexts : influences of principals and teachers in the service of students