The greenhouse effect in the atmosphere is produced due to: