End of affirmative action at UC hurt Black, Latinx students, study finds