Discrimination took a toll on the mental health of racial and ethnic minority groups during the COVID-19 pandemic, study finds