Teachers given projects based on racist stereotypes, study finds