Soft-output detection of differentially encoded M-PSK over channels with phase noise