The foreign ministers of Russia and Germany have met in New York in the first such talks since before Russia's 2022 invasion of Ukraine.