Optimization and Capacitive Interface Design for a Resonant MEMS Embedded Chemical Sensing System