US professor who pretended to be Black quits job