The number of refugees from Ukraine in the European Union has exceeded 7 million, according to the European border agency Frontex.