Electrically Gated Nanoporous Membranes for Smart Drug Delivery and Biomedical Devices