Diagnostic errors in three medical eras: a necropsy study