The dissociation mechanism of H2O in water studied by first-principles molecular dynamics