A parsimonious approach for activity recognition with wearable devices: An application to cross-country skiing