Optimal choice of regularization parameter in image denoising