Surface-Layer Phase-Transitions in Nematic Liquid-Crystals