Azimuthal and zenithal anchoring of nematic liquid crystals.