Features of the formation of a perovskite phase in thin polycrystalline Pb(Zr,Ti)O3 films