Physiological determinants of distribution in fish