A Geometric Approach to Subset Selection and Sparse Sufficient Dimension Reduction