Thermodynamics and Nucleation in Finite Systems