Ultrafast electron diffraction: Visualizing dynamic states of matter