Optimal Education Policy, R&D Productivity, and Endogenous Growth with Heterogeneous Individuals