Nematic–smectic-Aphase transition in ultrathin films of polymeric liquid crystal studied by x-ray reflectivity