Maximum Entropy Inverse Reinforcement Learning of Diffusion Models with Energy-Based Models