Diagonal Bundle Method for Nonsmooth Sparse Optimization