U.S. shifts troops in the Sinai Peninsula after attacks by militants