Structure and mechanism of a bacterial β-glucosaminidase having O-GlcNAcase activity