Solving Linear Inverse Problems Using the Prior Implicit in a Denoiser