Determination of emission and absorption cross sections of in waveguides from transversal fluorescence spectra