Consciousness, Matter, and Energy: The Emergence of Mind in Nature