Self-Supervised Representation Learning for Motion Time Series: A Case Study in Activity Recognition