Learning Pose Grammar to Encode Human Body Configuration for 3D Pose Estimation