An invariant treatment of interfacial discontinuities in piezoelectric media