Copper nanowire array as highly selective electrochemical sensor of nitrate ions in water