Structural racism may contribute to mass shootings, study says