ABSORPTION SPECTROSCOPY OF IONIC AND MOLECULAR UNITS IN CRYSTALS AND GLASSES