On representations of integers by indefinite ternary quadratic forms