A Multi-Purpose Haptic D Device for Research on Physical Human-Robot Interaction