Modeling electrified metal/water interfaces from ab initio molecular dynamics: Structure and Helmholtz capacitance