Retrieval-Generation Alignment for End-to-End Task-Oriented Dialogue System