Negative thermal expansion of polymer crystals: Lattice model