With kinetic energy harvesting and wearable devices, researchers created a system capable of detecting a user’s transportation mode to inform urban planning