Patterned thin-film triboelectric generator for harvesting micro-meso scale ambient energy for kinematic sensing