Light-scattering and ellipsometry studies of the two-dimensional smectic-C to smectic-A transition in thin liquid-crystal films.