LDPC design for block differential modulation in optical communications