Medical image reconstruction with image-adaptive priors learned by use of generative adversarial networks