Simultaneous imaging and diffraction in the dynamic diamond anvil cell.