Light self confinement in planar cells with nematic liquid crystals