Study of electron heat transport in LHD and TJ-II