Structure of the divalent cation.nucleotide complex at the active site of phosphoribosylpyrophosphate synthetase.