How American tipping grew out of racism