Optical sensing of pH and pCO2 using phase-modulation fluorimetry and resonance energy transfer