已知x+y+z=1,且xy+xy+zx=0,求x^2+y^2+z^2的值