Eight-dimensional modulation for coherent optical communications