Subject to the rules of law applicable generally to negligence, no physician or surgeon licensed by this state shall be liable civilly or criminally by reason of having performed surgical interruption of vas deferens or fallopian tubes, as the case may be, authorized by this chapter upon any person in this state.