A novel Z-axis diffractometer for X-ray diffraction and fluorescence studies