The determination of Young’s modulus in noble metal nanowires