Dynamical systems defining Jacobi's theta-constants