Sufficiency, KMS condition and relative entropy in von Neumann algebras