Selective metallization of silicon micromechanical devices