Applying industrial ecology mechanisms to reduce pollution