Geometric crystals and cluster ensembles in Kac–Moody setting