Magnitude 6.4 earthquake hits Taiwan