DiffChat: Learning to Chat with Text-to-Image Synthesis Models for Interactive Image Creation