'Making hiring or promotion decisions motivated in whole or in part by race or sex violates federal law'