Flexible integration of MEMS and IC for low-cost production of wireless sensor nodes