Physiological and historical determinants of the distribution and abundance of insects