Surface temperature of the Sun, Heat transfer and Stefan-Boltzmann law