On iterative detection for channels with memory