An experimentally validated technique for the real-time management of wrist singularities in nonredundant anthropomorphic manipulators