Vibrational spectra, co-operative intramolecular hydrogen bonding and conformations of calix[4]arene and thiacalix[4]arene molecules and their para-tert-butyl derivatives.