Obama warns of U.S. action as jihadists push on Baghdad