Foreign direct investment and institutional reform: evidence and an application to Portugal · Study