Current reversals in a rocking ratchet: dynamical versus symmetry-breaking mechanisms.