Concentration dependence of the light yield and energy resolution of NaI:Tl and CsI:Tl crystals excited by gamma, soft X-rays and alpha particles