Jointly Improving Language Understanding and Generation with Quality-Weighted Weak Supervision of Automatic Labeling