Experiencing statistical information improves children’s and adults’ inferences