The costs and benefits of implementing an environmental management system