The microeconomic theory of education