Stringent, open and hybrid state treatment of foreign investment: three eras of the oil industry in Venezuela and Ecuador