Axion-dilaton cosmology, Ricci flows and integrable structures