Endometrial resection for the treatment of menorrhagia.