BaTiO3 thin films as transitional ferrroelectrics with giant dielectric response