A projection algorithm based on KKT conditions for convex quadratic semidefinite programming with nonnegative constraints