Bioelectronic device consisting of self-assembled biomolecules