Learning Parameterized Skills from Demonstrations