Density functional theory study of 3R– and 2H–CuAlO2 in tensile stress