Autopoiesis and Cognition: Realization of the Living