PromptCL: Improving Event Representation via Prompt Template and Contrastive Learning