Poor grades are tied to mismatched class times, study says