Kinetic energy harvesting using microscale electromagnetic generators