Transient field g factor and mean-life measurements with a rare isotope beam of 126Sn