The impact and prevention of systemic and diagnostic errors in surgical malpractice claims in Japan: a retrospective cohort study