Self-supervised EEG Representation Learning for Automatic Sleep Staging