The proton density of states in confined water (H2O)