Exploiting Information Theory for Intuitive Robot Programming of Manual Activities