Points $A,$ $B,$ and $C$ are given in the coordinate plane. There exists a point $Q$ and a constant $k$ such that for any point $P$, PA2+PB2+PC2=3PQ2+k. If $A = (0,0),$ $B = (1,0),$ and $C = (-1,0)$, then find the constant $k$.