Investigation and prevention of accidents and incidents in civil aviation