Regularizing Model-Based Planning with Energy-Based Models