Analysis of the CIPSI/DCCI approach to characterize the HF and F2 single bond