Buckling of a piezoelectric plate