Temporal information and children's and adults' causal inferences