Optimal combinations of income tax and subsidies for education