Upgrading waste heat from a cement plant for thermochemical hydrogen production