A unified epi-seal process for resonators and inertial sensors