Growth, environment and innovation—a model with production vintages and environmentally oriented research