US cautions Thai generals against taking politically-motivated actions