Productivity and sustainability can increase at the same time