A Supervised Contrastive Learning Pretrain-Finetune Approach for Time Series