Toroidal magnetohydrodynamic equilibrium code ESC