A globally convergent QP-free algorithm for nonlinear semidefinite programming