Encoding of 2D and 3D cumulative double bond configurations.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>