TOD-Flow: Modeling the Structure of Task-Oriented Dialogues