piezoelectric accelerometer working principle