Structured sparsity through convex optimization