Texas man hailed a hero after saving officer in shootout