Nanoelectromechanical technology for radiation and temperature harsh environments