Solve the system of equations in real numbers: \[\left\{ \begin{aligned} x+y = 2\\ xy-z^2 = 1 \end{aligned} \right.\]