Magneto-thermo-elastic instability of ferromagnetic plates in thermal and magnetic fields