Imaging transient molecular configurations in UV-excited diiodomethane