Contrastive Preference Learning: Learning from Human Feedback without RL