Comparison of methods of functional group analysis using results from laboratory and field aerosol measurements