Variable Selection and Task Grouping for Multi-Task Learning