A hard x-ray scanning microprobe for fluorescence imaging and microdiffraction at the Advanced Photon Source