The spatial distribution of public services: A structural model of voting, educational production, and the government's allocation of educational inputs