At least 27 migrants died after two boats capsized crossing from Libya to Italy.