Nonmyopic view planning for active object classification and pose estimation