Single-Wafer-Processed Self-Testable High-$g$ Accelerometers With Both Sensing and Actuating Elements Integrated on Trench-Sidewall