European Union nations have agreed on a new common policy for air travel, to deal with rapidly changing infection rates across the continent.