Flexible multibody dynamics and effects of nonlinear joint stiffness for vibration analysis in a robotic grinding process