Tasks and social relationships in classrooms : a study of instructional organization and its consequences