measure of the energy released by an earthquake