Transferring disentangled representations: bridging the gap between synthetic and real images