Learning to Generate Prompts for Dialogue Generation through Reinforcement Learning