Nigerian authorities say at least 27 people have died and more than 100 others are missing after a boat transporting them to a food market capsized.