Find the extreme values of \(f(x, y, z) = x^2 + y^2 + z^2\) subject to the constraint \(x + y + z = 12\).