已知p:(x-1)(y-2)=0,q:(x-1)^2+(y-2)^2=0,试判断p是q的什么条件?