Four people given suspended sentences over drugs deaths