The scaling of the meridional overturning with the meridional temperature gradient in idealized general circulation models