Modified free vibrating beam method for characterization of effective e31 coefficient and leakage resistance of piezoelectric thin films