Genetic engineering for heat tolerance in plants