Probing radio source environments via H i and OH absorption