Design and optimization of a novel bistable power generator for autonomous sensor nodes