Effects of participation in school sports on academic and social functioning