A theoretical approach to perturbation of biological systems by electrical currents