In-context Contrastive Learning for Event Causality Identification