Integration of resonant N/MEMS for energy harvesting from ambient vibrations