Dependence of induced transmembrane potential on cell density, arrangement, and cell position inside a cell system