Response of cotton genotypes to water and heat stress: from field to genes