Coarse-graining DNA for simulations of DNA nanotechnology