Text this: Convex learning of multiple tasks and their structure