A Generative Approach for Script Event Prediction via Contrastive Fine-tuning