Classifying and interpreting threats to patient safety in hospitals: insights from aviation