Texas officer accused of framing ex-wife as meth dealer