Wetting and Anchoring of a Nematic Liquid Crystal on a Rough Surface.