DSMC modeling of micromechanical devices