The dependence of the magnitude of the spontaneous polarization on the cell thickness in ferroelectric liquid crystals