German foreign minister admits Berlin made mistakes on Ukraine