Modeling and Analysis of Spatial Flexible Mechanical Systems With a Spherical Clearance Joint Based on the LuGre Friction Model