Dynamics and vibrations of particle-sensing MEMS considering thermal and electrostatic actuation