The Russian president and the Hungarian prime minister have discussed the Ukraine crisis and Russia's relations with the European Union.