Origin of bioelectricity