Multi-granularity episodic contrastive learning for few-shot learning