Performance Analysis of Resonantly Driven Piezoelectric Sensors Operating in Amplitude Mode and Phase Mode