Mutual information and capacity of a linear digital channel