Influence of H2O molecules on sub-nanometre scale gaps between Au leads