A multispectrum fitting procedure to deduce molecular line parameters: Application to the 3-0 band of 12C 16O