type 2 restriction enzymes function