Multichannel detector-collimator for powder diffraction measurements at energy scanning x-ray absorption spectroscopy synchrotron radiation beamlines for high-pressure and high-temperature applications