Trojan horse particle invariance studied with the Li-6(d,alpha)He-4 and Li-7(p,alpha)He-4 reactions