Nonlinear mems mechanism for energy harvesting from mechanical vibrations