Factors associated with middle school students' perceptions of the quality of school-based sexual health education