Fault diagnosis of linear electric generators for thermoacoustic machines