Dynamics of resonant tunneling diode optoelectronic oscillators