Essays on the allocation of local public goods