Synchrotron X-ray diffraction experiments with a prototype hybrid pixel detector