Changes in global gravitational energy induced by earthquakes