An exposure-effect approach for evaluating ecosystem-wide risks from human activities