Optimum design of channel filter for digital magnetic recording