Design of planar electrodes for multifunctional piezoelectric sensors