The greening of technological progress