Application of X-rays in prompt spectroscopy of 252Cf fission fragments