Sufficient conditions for global optimality of semidefinite optimization