已知三角型abc三内角a b c 成等差数列,且a-c=π/3,求cos^2a+cos^2b+cos^c的值