Systematic Investigation of the Effect of Polymerization Routes on the Gas-Sorption Properties of Nanoporous Azobenzene Polymers.