A variational, finite‐deformation constitutive model for piezoelectric materials