Exact analytical solutions of the forward non-ideal diode equation with series and shunt parasitic resistances