Essays on Foreign Direct Investment, Agglomeration and Productivity