Bioelectronic interfaces for molecular quantification