Environment, growth, and technological change in a two-country overlapping-generations model