Coordinate Descent Methods for Sparse Optimal Scoring and its Applications