Optics in smoothly varying anisotropic planar structures: Application to liquid-crystal twist cells* | Synapse