A pocket-sized 3D-printed attenuated total reflection-infrared filtometer combined with functionalized silica films for nitrate sensing in water