Phase transitions and glasslike behavior in Sr1-xBaxTiO3.