Variations of total solar irradiance produced by structural changes of the solar interior