Smart mechanical transducers: a comparative study of piezoelectric materials