Two adults and two children have died after a boat carrying migrants sank off the coast of northern France.