THE RHYTHM OF FAIRALL 9. I. OBSERVING THE SPECTRAL VARIABILITY WITH XMM-NEWTON AND NuSTAR