Understanding the gender gap in school performance among low-income children