The Anomaly Flow and the Fu-Yau Equation