Magneto-optical selection rules of curved graphene nanoribbons and carbon nanotubes