Optimal Financial Literacy and Saving for Retirement