Effect of Solvent and pH on the Structure of PAMAM Dendrimers