Domain structure and function of nucleotide pyrophosphatases door