A method for cross-sensitivity and pull-in voltage measurement of MEMS two-axis accelerometers