Magnitude 7.4 earthquake rattles the coast of Taiwan