Surface orientation transitions in surface stabilized ferroelectric liquid crystal structures