ProDMPs: A Unified Perspective on Dynamic and Probabilistic Movement Primitives