Regularized methods for high-dimensional and bi-level variable selection