Homeotropic and Planar Alignment of Discotic Liquid Crystals: The Role of the Columnar Mesophase