Industrial ecology and risk analysis