Powerful earthquake strikes Taiwan, damaging buildings