Influence of twin boundaries and sample dimensions on the mechanical behavior of Ag nanowires