Earthquake hits Taiwan, knocks out power