Variation of series resistance with temperature and illumination level in diffused junction poly- and single-crystalline silicon solar cells