Smectic layering: Landau theory for a complex-tensor order parameter