High temperature structural investigation of the delafossite type compound CuAlO2