Electrostatics at Aqueous Interfaces and in Nanoconfinement