Spatially resolved electrical modelling of cracks and other inhomogeneities in crystalline silicon solar cells