How to Train Your Energy-Based Model for Regression