Phase-Transitions in Finite-Thickness Nematic Liquid-Crystal Films - Planar Anchoring