Nonlinear motions of a flexible rotor with a drill bit: stick-slip and delay effects