The theory of open systems in physics and biology.