XANES of the II-VI group ternary compounds: experimental and theoretical studies of Te L edges for CdHgTe and CdZnTe