Mantle layering from ScS reverberations: 1. Waveform inversion of zeroth-order reverberations