Stiffness analysis and experimental validation of robotic systems