OH···X (X = O, S) hydrogen bonding in thetrahydrofuran and tetrahydrothiophene.