The perception of causality