Even and odd operators in quantum mechanics