Landau theory of domain wall magnetoelectricity