Mesomorphic and structural properties of liquid crystalline side-chain polymethacrylates: from smectic C* to columnar phases