Lattice model for ferroelectric thin film materials including surface effects: Investigation on the “depolarizing” field properties