Comparative statistical plasma properties of planar and non-planar ICME during solar cycles 23 and 24