Isolation of source and receiver statics and scale factors in waveform inversion of marine refraction data