Three essays on endogenous growth in open economies