The Greek government and the UN refugee agency have brought in extra staff and ships to deal with some 25,000 stranded migrants on the island of Lesbos.