Constructing the world: Active causal learning in cognition