Generalization of Force Control Policies from Demonstrations for Constrained Robotic Motion Tasks