Event Detection as Multi-Task Text Generation