Azobenzene polyesters used as gate-like scaffolds in nanoscopic hybrid systems.