explain how restriction enzymes function