Necessary and sufficient conditions for the existence of a positive definite solution of the matrix equation X + A*X-1A = Q