Ab initio study of the properties of CuAlSe2: A chalcopyrite compound