Experimental research into the influence of ion dynamics when measuring the electron density from the Stark broadening of the Hα and Hβ lines