Structure of π- and 2π-Walls in Smectic films