Relations of middle school students' perceptions of family and school contexts with academic achievement · Study