Fast greedy algorithms for dictionary selection with generalized sparsity constraints