Design of global tracking controllers for flexible joint robots