Darkening of the Sun prior to surface appearance of sunspot flux tubes and magneto-thermal pulsation of the Sun