A generalized S transform and applications to seismic time-frequency analysis