Decomposition of Intermolecular Interactions in ab initio Spectroscopy