Calculation of the Film-Thickness-Dependence of the Curie Temperature in Thin Transition Metal Films