Hungary's controversial presidency of the Council of the European Union comes to an end