Faculty diversity means gains for female law students, according to study