An effective and affordable technique for human motion capturing and teleoperation of a humanoid robot using an exoskeleton