Mechanical properties and thermal stability of ultrathin molybdenum nanowires