Similarity Contrastive Estimation for Image and Video Soft Contrastive Self-Supervised Learning