Depolarization field and properties of thin ferroelectric films with inclusion of the electrode effect