Electrostatic theory of the assembly of PAMAM dendrimers and DNA