Medvedev says Russia's defeat in Ukraine may lead to nuclear war