An ultrathin buried Si layer in GaAs studied by soft X-ray emission spectroscopy and surface X-ray diffraction: theory and experiment