Active Action Recognition in Humans and Robots