Optical diagnostics for condensed-phase shock-compressed molecular systems