Into the black box of environmental Kuznets curves: Optimal growth and material resource use in two trading countries