Smectic and columnar liquid crystals