A Phenomenological Constitutive Model for Ferroelectric Ceramics and Ferromagnetic Materials