Dependence of the anchoring energy on the applied volatge in a nematic cell