The effect of material inhomogeneities on the characteristics of semicrystalline silicon solar cells: the second diode