A Bayesian Perspective on the Deep Image Prior