Complications in hysteroscopy: prevention, treatment and legal risk