function of restriction enzymes class 12