Inter- and intramolecular hydrogen bonds involving a thione proton-acceptor group