Risk of uterine, ovarian and breast cancer following pelvic inflammatory disease: a nationwide population-based retrospective cohort study