Interpolytypic transformations and the electrical behaviour of PbI2 crystals