French court convicts 18 in a major trial that casts light on the deadly migrant-smuggling trade