A sol–gel based fiber optic sensor for local blood pH measurements