Officer, deputy shot, 1 killed in TX shootout