Multi-grained contrastive representation learning for label-efficient lesion segmentation and onset time classification of acute ischemic stroke.