The polar tensors, effective charges, and infrared intensities of X2CY molecules