Stability of DNA-linked nanoparticle crystals I: Effect of linker sequence and length