Understanding the instrumental profile of synchrotron radiation X-ray powder diffraction beamlines