Environmental influences on behavioural responses on the object choice task in dogs and children: implications for the evolution of human cognition