Towards local deposition of particles by electrophoresis in dc electric fields in polar and nonpolar media and mixtures thereof