Engineering Two-Phase and Three-Phase Microstructures from Water-Based Dispersions of Nanoparticles for Eco-Friendly Polymer Solar Cell Applications