Photolithographically patternable nitrate-sensitive acrylate-based membrane