Energy harvesting and power management of wireless sensors for structural control applications in civil engineering