Interacting innovation investments and environmental performances: a dynamic impure public good model