Signatures of attosecond electronic–nuclear dynamics in the one-photon ionization of molecular hydrogen: analytical model versus ab initio calculations