The effects of temperature fluctuations in homogeneous nucleation theory