A study of charge-symmetry violation in π+ and π− elastic scattering from 3H and 3He