A Method for the Measurement of the k Factor in Lossy Piezoelectric Materials: FEM and Experimental Results