Waveform inversion of deep seismic reflection data: the polarity of mantle reflections