Elastic properties of crystals of single-walled carbon nanotubes