An Unpaired Shape Transforming Method for Image Translation and Cross-Domain Retrieval