Structure and catalytic function of nucleases