Nonlinear dynamics of memristor oscillators