The agent in the organism : towards a biogenic theory of cognition