Solitons in thin-film ferroelectric material