Electrical contraction of the anal sphincter for intraoperative visualization of anal function