Texas can ban common form of second-trimester abortion, appeals court rules