The electrohydrodynamic instability in homeotropic nematic layers