Identification of genetic and biochemical mechanisms associated with heat shock and heat stress adaptation in grain amaranths