A Technique for the Measurement of d31 Coefficient of Piezoelectric Thin Films