Investigating consciousness in animals and artificial systems a comparative perspective