Molecular Absorption as a Probe of the Structure of Dense Clouds