Angular momenta, helicity, and other properties of dielectric-fiber and metallic-wire modes