Folded silicon resonant accelerometer with temperature compensation