Domain Adaptation for Time Series Under Feature and Label Shifts