Quantification of the donor-acceptor character of ligands by the effective fragment orbitals