External field effect on the nematic anchoring energy