Biochemical and mutational analysis of EcoRII functional domains reveals evolutionary links between restriction enzymes