Size dependence of the superconducting transition temperature