US warns of response after military detains Myanmar officials