Multi-trace nonstationary sparse inversion with structural constraints