Adaptation of manipulation skills in physical contact with the environment to reference force profiles