Stimuli-responsive polymers grafted to nanopores and other nano-curved surfaces: structure, chemical equilibrium and transport