Elasticity of DNA nanowires