Costly Innovation and Natural Resources