Investigating new photoactive ferroelectrics using dynamic X-ray diffraction techniques