Estimated permittivity functions for NIR and SWIR absorbing dyes by inverse analysis of transmission spectra