BRST inner product spaces and the Gribov obstruction