Ultra-low-power Physical Activity Classifier for Wearables: From Generic MCUs to ASICs