Theoretical modeling of the L2,3-edge X-ray absorption spectra of Mn(acac)2 and Co(acac)2 complexes