Substances from cradle to grave : development of a methodology for the analysis of substances flows through the economy and the environment of a region: with case studies on cadmium and nitrogen compounds