Optical Biosensing of Nitrate Ions Using a Sol–Gel Immobilized Nitrate Reductase