Contrastive Representation Learning for Electroencephalogram Classification