Authorities say Texas, Missouri, officers shot in ambushes