Using hierarchical clustering methods to classify motor activities of COPD patients from wearable sensor data