Calculated x-ray dichroic signals and resonant Bragg diffraction structure factors for DyB 2 C 2