Packaged CMOS–MEMS free–free beam oscillator