Earthquakes the physics of them and their impact on buildings