Efficient Training of Energy-Based Models Using Jarzynski Equality