Penalized Least Squares for Optimal Sparse Portfolio Selection