Singularity analysis and avoidance for an SSRMS-type reconfigurable space manipulator with a non-spherical wrist and two lockable passive telescopic links