Dynamics of virtual cathode oscillation analyzed by impedance changes in high-power diodes