The effect of grading policies and student gender on academic performance