Quantifying intracellular rates of glycolytic and oxidative ATP production and consumption using extracellular flux measurements