Regulating Foreign Investment: A Study of the Properties of Bilateral Investment Regimes