On the relation between the determinant and the permanent