Essays in Urban Economics and Industrial Organization