Dynamical mechanism of anticipating synchronization in excitable systems.