Electromyography of the external anal sphincter