Nonlinear dynamics of the rattleback: a nonholonomic model