Balanced Training of Energy-Based Models with Adaptive Flow Sampling