Wavelet inpainting with the ℓ0 sparse regularization