Text this: Joint Optimization of the 3D Model and 6D Pose for Monocular Pose Estimation