One-Dimensional Theoretical Solution and Two-Dimensional Numerical Simulation for Functionally-Graded Piezoelectric Cantilever Beams with Different Properties in Tension and Compression