UniMTS: Unified Pre-training for Motion Time Series