Constrained DMPs for Feasible Skill Learning on Humanoid Robots