The effect of inter-group contact on discrimination