Kinematic and Dynamic Modeling of Spherical Joints Using Exponential Coordinates