Kähler-Einstein metrics and integral invariants