Variational Exemplar-Based Image Colorization