Effect of temperature and a weakly polar organic medium on water localization in slit-like pores of various sizes in microporous activated carbon