A semi-endogenous growth model with public factors, imported capital goods, and limited export demand for developing countries