The exact C-function in integrable λ-deformed theories