Structure-dependent dielectric relaxations in Sm-doped BaTiO3 ceramics