Elastic photoproduction of charged pions on 3He and 3H in the Δ(1232) resonance region