Two men charged in alleged racially-motivated attacks