Mechanical properties and negative thermal expansion of a dense rare earth formate framework