Hip-mounted electromagnetic generator to harvest energy from human motion