Precise structural analysis of polymer materials using synchrotron X-ray scattering and spectroscopic methods