Shunt resistance and saturation current determination in CdTe and CIGS solar cells. Part 1: a new theoretical procedure and comparison with other methodologies