diode current equation derivation pdf