Determination of pH in reversed micelles