what measures the energy released at the source of the earthquake?​