Programming manipulation tasks by demonstration in visuo-haptic augmented reality