Risk Assessment of Hydrocarbon Releases by Pipelines