Contact-state classification of human- demonstrated robot compliant motion tasks using the boosting algorithm