Earthquakes and crustal deformation