Cluster integrable systems and statistical mechanics