Seismic full waveform inversion : nonlocal similarity, sparse dictionary learning, and time-lapse inversion for subsurface flow