Goalkeeper Matvey Safonov saved four penalties in the Intercontinental Cup final shootout to hand the European champions the title.