Saint-Venant's problem for a second-order piezoelectric prismatic bar