复数满足z(1+i)=2i,则复数z的实部与虚部之差为 [ ] A.-2