Conductivity of Sm2TiO5 and Sm2Ti2O7