Perception of causality: A dynamical analysis.