Combined electronics and algorithm development for offset drift characterization in MEMS accelerometers