Diffuse phase transition in Nb-doped BaTi2O5 thin films