Two-stage thermoacoustic electricity generator with push-pull linear alternator