Generalized Landau model of ferroelectric liquid crystals.