Analysis of a magnetostrictive power harvesting device with hysteretic characteristics