Russia's deputy foreign minister has said the country is prepared to use all means "including nuclear ones" for its security.