Improving Contrastive Learning on Imbalanced Data via Open-World Sampling