Relating school context to measures of psychosocial factors for students in grades 6 through 9