Detection of heavy metal ions using resistive pulse sensors