Amorphous carbon active contact layer for reliable nanoelectromechanical switches