Polymer-MEMS-based sensors