Linewidth determination by integrated power measurement of coherent anti-stokes Raman scattering