A Modular Theory of Subjective Consciousness for Natural and Artificial Minds