Determination of inorganic arsenic with ensembles of nanoelectrodes: from batch to flow analysis