Refugees and other migrants pouring into Greece will be kept on Aegean Sea islands on ferries used as floating shelters, government officials said, as thousands who went before them find themselves stranded in increasingly desperate conditions following border closures in the countries to the north.