圆c(x-3)^2+(y-1)^2=9与直线x-y+a=0交于A B两点,且OA垂直于OB 求a的值