The structure of ADP-ribose pyrophosphatase reveals the structural basis for the versatility of the Nudix family