Experimental study of charge state distribution from KrF and ruby laser-produced plasmas