Multi-dimensional constrained energy optimization of a piezoelectric harvester for E-gadgets