Landau theory for ferroelectricity