Quantum Hall effect in carbon nanotubes and curved graphene strips