Text this: Optimization of resonator design for vibration-based electromagnetic energy harvester