Equilibrium configurations of the charged surface of a conducting liquid at a finite interelectrode distance