Diagnostic methods for time-resolved optical spectroscopy of shocked liquid deuterium