Programming Solitons in Liquid Crystals Using Surface Chemistry.