Implicit Generation and Generalization in Energy-Based Models