At least 18 people have died off Lesbos, after a boat hit rocks under a cliff elsewhere in Greece.