Reality and non-reality of the spectrum of PT -symmetric operators: Operator-theoretic criteria