Proprioceptive State Estimation of Legged Robots with Kinematic Chain Modeling