Economic cooperation with Moscow possible if it ends war in Ukraine: Germany