Learning Texture Manifolds with the Periodic Spatial GAN