Structure–function characterization reveals new catalytic diversity in the galactose oxidase and glyoxal oxidase family