Growing Regression Forests by Classification: Applications to Object Pose Estimation