At least 27 people have died after two boats carrying migrants sunk off the coast of Tunisia on Wednesday, according to state broadcaster Tunisia TV.