Apparatus and experimental method for measurements of the potential distributions in dc glow discharges