Assessment of the risk related to environmental damage following major accidents in onshore pipelines