A search for H I and OH absorption in high redshift quasars