An intrinsic characterization of Kähler manifolds