The energy release in earthquakes