Theoretical and experimental studies on open circuit voltage decay, lifetime and series resistance in solar cells and other P-N junction devices