Elasticity of CaIrO3 with perovskite and post-perovskite structure