Baja California has been hit by an earthquake measuring 7.2 on the Richter scale, one of the strongest in decades.