Layer and director structure in surface stabilized ferroelectric liquid crystal cells with non-planar boundary conditions