Modeling the severity of road accidents at intersections