factors that affect student performance in school