Effects of Surface on the Critical Temperature of Ferroelectric Films