Curie temperature for a finite alternating ferroelectric superlattice