Nonstationary seismic inversion: joint estimation for acoustic impedance, attenuation factor and source wavelet