RankMe: Assessing the downstream performance of pretrained self-supervised representations by their rank