Disentangling representations of retinal images with generative models