Political Competition and the Regulation of Foreign Direct Investment