Time-resolved small-angle and wide-angle X-ray scattering apparatus using the imaging plate as a two-dimensional detector