Multiscale modeling and computation of nano-electronic transistors and transmembrane proton channels