Dielectric and impedance spectroscopy of (Ba, Sm)(Ti, Fe)O3 system in the low-medium frequency range