A Variational Approach for Sparse Component Estimation and Low-Rank Matrix Recovery