Electronic, optical and elastic properties of CuXS2 (X=Al, Ga, In) and AgGaS2 semiconductors from first‐principles calculations