Sources of electrical potential across membranes