A spatial analysis of corruption, misallocation, and efficiency