Two people have died after a boat sank in the Channel carrying close to 50 asylum-seekers, French maritime authorities have said.