Robust Subspace Estimation Using Low-Rank Optimization: Theory and Applications