LONGITUDINAL STRUCTURE OF ELECTRON BUNCHES AT THE MICROMETER SCALE FROM SPECTROSCOPY OF COHERENT TRANSITION RADIATION