Pretrained ViTs Yield Versatile Representations For Medical Images