Classical, quantum, and thermodynamics of a lattice model exhibiting structural negative thermal expansion