Transient analysis of a triangular-barrier bulk unipolar diode