Complete invariant lagrangians of d = 10 N = 2b and d = 6 N = 2 chiral supergravities