Two-leg ladders and carbon nanotubes: Exact properties at finite doping