Text this: Selective membrane for detecting nitrate based on planar electromagnetic sensors array