Bayesian and non-bayesian methods for joint decoding and detection in the presence of phase noise