Unbiased Classification Through Bias-Contrastive and Bias-Balanced Learning