Discrete-time cellular neural networks for associative memories: a new design method via iterative learning and forgetting algorithms