NEMS by sidewall transfer lithography