Resolution of seismic waveform inversion: Bayes versus Occam