Theoretical calculations of absorption intensities of C2H and C2D