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