Piezoelectric monolayers as nonlinear energy harvesters