Quantum Theory of Consciousness