Ex-Taiwan leader visits China, first such trip since civil war