Learning Haptic-based Object Pose Estimation for In-hand Manipulation Control with Underactuated Robotic Hands