Vibrational spectra of Mg2KH(XO4)2·15H2O (X=P, As) containing dimer units [H(XO4)2].