Structure Tuning of Electrostatically Self-Assembled Nanoparticles through pH: The Role of Charge Ratio