how charges are transported across and along membranes