Deep Segmented DMP Networks for Learning Discontinuous Motions