An optical joint position sensor for anthropomorphic robot hands