已知圆M:x+y-2mx-2ny+m-1=0与圆N:x+y+2x+2y-2=0交与AB两点,且这两点平分圆N,求圆M的半