Weakly Supervised Multi-Task Representation Learning for Human Activity Analysis Using Wearables