Apparatus for time‐resolved x‐ray absorption spectroscopy using flash photolysis