The scheme aims to ease the burden on Greece, where migrant camps are squalid and overcrowded.