New self-assembly method creates bioelectronics out of microscopic structures