Vladimir Putin has threatened to cut off gas supplies to Europe as the war in Iran sends energy prices soaring.