Anchoring Properties of Liquid Crystals at the Substrates: Temperature Dependence of Pretilt