Residual Contrastive Learning for Image Reconstruction: Learning Transferable Representations from Noisy Images