Stability of the nematic phase of a mixture of aligned cylinders with respect to the smectic and columnar phases