From Theory of Mind to Epistemic Cognition. A Lifespan perspective