Study of the causes of pedestrian accidents by severity