Genome Duplication and Gene Loss Affect the Evolution of Heat Shock Transcription Factor Genes in Legumes