Three Essays on Financial Constraints and Foreign Direct Investment