Unsupervised content-preserving transformation for optical microscopy