Dielectric properties of BaTiO3 based materials with addition of transition metal ions with variable valence